FROM java:8
VOLUME /tmp
ENV TZ=Asia/Shanghai
ENV LANG C.UTF-8
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ADD zs/testISSUE.pfx testISSUE.pfx
ADD zs/appCertPublicKey_2021002158661748.crt appCertPublicKey_2021002158661748.crt
ADD zs/WeChatApp.p12  WeChatApp.p12
ADD zs/WeChatXcx.p12  WeChatXcx.p12
ADD zs/alipayRootCert.crt alipayRootCert.crt
ADD zs/alipayCertPublicKey_RSA2.crt alipayCertPublicKey_RSA2.crt
ADD zs/fxfpt.pfx fxfpt.pfx
ADD build/libs/*.jar app.jar
ENV JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=33333,server=y,suspend=n "
ENTRYPOINT exec java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar